/*    */
package com.purvar.boot.api.system.entity;
/*    */
/*    */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.purvar.boot.comm.api.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
@TableName("sys_dict")
/*    */
@ApiModel(value = "平台-字典表对象", description = "平台-字典表对象")
/*    */ public class SysDict extends BaseEntity {
    /*    */   private static final long serialVersionUID = 1L;
    /*    */
    @TableId(type = IdType.UUID)
    /*    */ private String id;
    /*    */
    @ApiModelProperty("备注")
    /*    */ private String remark;
    /*    */
    @ApiModelProperty("父级id")
    /*    */ private String parentId;

    /*    */
    /* 21 */
    public SysDict setId(String id) {
        this.id = id;
        return this;
    }

    @ApiModelProperty("代码")
    private String code;
    @ApiModelProperty("英文名称")
    private String nameEn;
    @ApiModelProperty("中文名称")
    private String nameCn;
    @ApiModelProperty("日文名称")
    private String nameJp;
    @ApiModelProperty("租户可设置(0否1是)")
    private String tenantFlag;

    public SysDict setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public SysDict setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public SysDict setCode(String code) {
        this.code = code;
        return this;
    }

    public SysDict setNameEn(String nameEn) {
        this.nameEn = nameEn;
        return this;
    }

    public SysDict setNameCn(String nameCn) {
        this.nameCn = nameCn;
        return this;
    }

    public SysDict setNameJp(String nameJp) {
        this.nameJp = nameJp;
        return this;
    }

    public SysDict setTenantFlag(String tenantFlag) {
        this.tenantFlag = tenantFlag;
        return this;
    }

    public String toString() {
        return "SysDict(id=" + getId() + ", remark=" + getRemark() + ", parentId=" + getParentId() + ", code=" + getCode() + ", nameEn=" + getNameEn() + ", nameCn=" + getNameCn() + ", nameJp=" + getNameJp() + ", tenantFlag=" + getTenantFlag() + ")";
    }

    /* 22 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof SysDict)) return false;
        SysDict other = (SysDict) o;
        if (!other.canEqual(this)) return false;
        if (!super.equals(o)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$remark = getRemark(), other$remark = other.getRemark();
        if ((this$remark == null) ? (other$remark != null) : !this$remark.equals(other$remark)) return false;
        Object this$parentId = getParentId(), other$parentId = other.getParentId();
        if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId)) return false;
        Object this$code = getCode(), other$code = other.getCode();
        if ((this$code == null) ? (other$code != null) : !this$code.equals(other$code)) return false;
        Object this$nameEn = getNameEn(), other$nameEn = other.getNameEn();
        if ((this$nameEn == null) ? (other$nameEn != null) : !this$nameEn.equals(other$nameEn)) return false;
        Object this$nameCn = getNameCn(), other$nameCn = other.getNameCn();
        if ((this$nameCn == null) ? (other$nameCn != null) : !this$nameCn.equals(other$nameCn)) return false;
        Object this$nameJp = getNameJp(), other$nameJp = other.getNameJp();
        if ((this$nameJp == null) ? (other$nameJp != null) : !this$nameJp.equals(other$nameJp)) return false;
        Object this$tenantFlag = getTenantFlag(), other$tenantFlag = other.getTenantFlag();
        return !((this$tenantFlag == null) ? (other$tenantFlag != null) : !this$tenantFlag.equals(other$tenantFlag));
    }

    protected boolean canEqual(Object other) {
        return other instanceof SysDict;
    }


    /*    */
    /*    */
    /*    */
    /*    */
    /*    */
    /*    */
    /*    */
    /* 30 */
    public String getId() {
        return this.id;
    }

    /*    */
    /*    */
    /* 33 */
    public String getRemark() {
        return this.remark;
    }

    /*    */
    /*    */
    /* 36 */
    public String getParentId() {
        return this.parentId;
    }

    /*    */
    /*    */
    /* 39 */
    public String getCode() {
        return this.code;
    }

    /*    */
    /*    */
    /* 42 */
    public String getNameEn() {
        return this.nameEn;
    }

    /*    */
    /*    */
    /* 45 */
    public String getNameCn() {
        return this.nameCn;
    }

    /*    */
    /*    */
    /* 48 */
    public String getNameJp() {
        return this.nameJp;
    }

    /*    */
    /*    */
    /* 51 */
    public String getTenantFlag() {
        return this.tenantFlag;
    }
    /*    */
}


/* Location:              D:\springcloud\eureka\autoCode\src\main\java\!\com\purvar\boot\api\system\entity\SysDict.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */